Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cosmos plugin #1393

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

feat: add cosmos plugin #1393

wants to merge 8 commits into from

Conversation

anilcse
Copy link

@anilcse anilcse commented Dec 23, 2024

Relates to:

NA

Risks

NA

Background

What does this PR do?

This PR adds a Cosmos plugin for Eliza, enabling agents to interact with any Cosmos SDK-based chains (e.g., Osmosis, Cosmos Hub, Akash).

What kind of change is this?

Features (non-breaking change which adds functionality)

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Where should a reviewer start?

  • Look over the plugin-cosmos folder structure, especially providers/wallet.ts, actions/transfer.ts, and any environment or index files.
  • Check the integration tests in tests/wallet.test.ts.

Detailed testing steps

  1. Install dependencies for the plugin-cosmos package:
    pnpm install

@proteanx
Copy link
Contributor

This looks good from what I can tell so far. Might be good to go ahead and list COSMOS_RPC_URL in the .env.example so users know they can set their rpc if they choose.

I haven't tested this yet, but can soon.

@anilcse
Copy link
Author

anilcse commented Dec 23, 2024

This looks good from what I can tell so far. Might be good to go ahead and list COSMOS_RPC_URL in the .env.example so users know they can set their rpc if they choose.

Sure, I will add it. This would definitely avoid extra calls to chain-registry if the user can simply provide all these config details, optionally

@odilitime odilitime added the Plugin_new Mark PRs that are a new plugin label Dec 23, 2024
@odilitime odilitime changed the title add cosmos plugin feat: add cosmos plugin Dec 24, 2024
Copy link
Contributor

@Freytes Freytes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follows the standard of Goat and other finanacal plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin_new Mark PRs that are a new plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants